<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="com.java.util.*,java.util.*"%>
<jsp:include page="/mobile/common/head.jsp"></jsp:include>
<%
	HashMap loginMap = null;
	LoginUtil loginutil = new LoginUtil();
	loginMap = (HashMap)loginutil.login(request,response);
	
	System.out.println(loginMap);
	if(loginMap.get("result").equals("N")){
%>		
		
		<script>
		alert('<%=loginMap.get("loginError")%>');
		location.href='index.jsp';
		</script>
<%	
	}else{
%>		
		<script>
		location.href='main.jsp';
		</script>
<%		
	}
%>